<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@taglib prefix="sf" uri="http://www.springframework.org/tags/form" %>
<%@taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
    <base href="${pageContext.request.scheme}://${pageContext.request.serverName}:${pageContext.request.serverPort}${pageContext.request.contextPath}/">
    <link rel="stylesheet" type="text/css" href="resources/css/admin/main.css"/>
    <link rel="stylesheet" type="text/css" href="esources/css/validate/main.css"/>
</head>
<body>
<div id="content">
    <h3 class="admin_link_bar">
        <jsp:include page="inc.jsp"/>
    </h3>
    <table width="800" cellspacing="0" cellPadding="0">
        <thead>
        <tr>
            <td colspan="2">查询组功能：组id[${group.id }]</td>
        </tr>
        </thead>
        <tr>
            <td class="rightTd" width="200px">组名称:</td>
            <td class="leftTd">${group.name }&nbsp;</td>
        </tr>
        <tr>
            <td class="rightTd">组描述:</td>
            <td class="leftTd">${group.descr }&nbsp;</td>
        </tr>
        <tr>
            <td class="rightTd">组中所有用户:</td>
            <td>
                <c:forEach items="${users }" var="g">
                    <a href="admin/user/${g.id}" class="list_op">[${g.username }]</a>&nbsp;
                </c:forEach>
            </td>
        </tr>
        <tr>
            <td colspan="2" class="centerTd"><a href="admin/group/update/${group.id }" class="list_op">修改组</a></td>
        </tr>
    </table>
</div>
</body>
</html>